//  [9/25/2013 OMEGA] created

#ifndef _DUELASSEDECLARERESOURCEDLG_H_
#define _DUELASSEDECLARERESOURCEDLG_H_


#include <QtWidgets/QDialog>
#include "DuelAssECommon.h"
#include "DuelAssEDualColumnSelectView.h"
#include "ui_DuelAssEDeclareResourceDlg.h"

class DAssEDeclareResourceDlg : public QDialog
{
	Q_OBJECT
public:
	DAssEDeclareResourceDlg(DAssEProject* targetProject, DAssEGroup* grp, QWidget* parent = 0);

	// override : QDialog----------------------------------------------
	virtual	int		exec();

	QString				getSelectedArchive();
	const QStringList&	getSelectedResourceList();

public slots:
	void			onArchiveChanged(int idx);
protected:
	Ui::DAssEDeclareResourceDlg	ui;
	DAssEDualColumnSelectView		mObjectView;
	DAssEProject*					mTargetProj;
	DAssEGroup*					mTargetGroup;
};

#endif